package net.minecraft.src;

import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
import net.minecraft.src.NBTBase;

public class NBTTagInt extends NBTBase {

    public int intValue;


    public NBTTagInt() {
        super();
    }

    public NBTTagInt(int var1) {
        super();
        this.intValue = var1;
    }

    void writeTagContents(DataOutput var1) throws IOException {
        var1.writeInt(this.intValue);
    }

    void readTagContents(DataInput var1) throws IOException {
        this.intValue = var1.readInt();
    }

    public byte getType() {
        return (byte)3;
    }

    public String toString() {
        return "" + this.intValue;
    }
}
